package com.equipmentRent.system.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.equipmentRent.system.domain.LeaseRecord;
import com.equipmentRent.system.domain.VO.LeaseRecordVo;

/**
 * 租赁出库记录Service接口
 * 
 * @author ruoyi
 * @date 2025-05-28
 */
public interface ILeaseRecordService extends IService<LeaseRecord>

{
    /**
     * 查询租赁出库记录
     * 
     * @param id 租赁出库记录主键
     * @return 租赁出库记录
     */
    public LeaseRecord selectLeaseRecordById(Long id);

    /**
     * 查询租赁出库记录列表
     * 
     * @param leaseRecord 租赁出库记录
     * @return 租赁出库记录集合
     */
    public List<LeaseRecord> selectLeaseRecordList(LeaseRecord leaseRecord);

    public List<LeaseRecordVo> selectLeaseRecordVoList(LeaseRecord leaseRecord);

    /**
     * 新增租赁出库记录
     * 
     * @param leaseRecord 租赁出库记录
     * @return 结果
     */
    public int insertLeaseRecord(LeaseRecord leaseRecord);

    /**
     * 修改租赁出库记录
     * 
     * @param leaseRecord 租赁出库记录
     * @return 结果
     */
    public int updateLeaseRecord(LeaseRecord leaseRecord);

    /**
     * 批量删除租赁出库记录
     * 
     * @param ids 需要删除的租赁出库记录主键集合
     * @return 结果
     */
    public int deleteLeaseRecordByIds(String ids);

    public int softDeleteLeaseRecordByIds(String ids);

    /**
     * 删除租赁出库记录信息
     * 
     * @param id 租赁出库记录主键
     * @return 结果
     */
    public int deleteLeaseRecordById(Long id);
}
